package com.dly.blog.domain.vo.permission;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * <p>
 * 权限
 * </p>
 *
 * @author DLY
 * @since 2024-11-13 15:16:31
 */
@Data
@Schema(name = "PermissionListVO", description = "权限返回对象")
public class PermissionListVO {

    private String id;

    @Schema(description = "权限标识")
    private String code;

    @Schema(description = "权限名称")
    private String label;

    private List<PermissionListVO> children;

    private Boolean disabled;
}
